﻿using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;

namespace Wlmy.Ids4.Repository
{
    public interface IUnitOfWork<T> where T:DbContext
    {
        T GetDbContext();
        Task SaveChangesAsync();
        void SaveChanges();
    }
}